package com.aibaixun.system.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author tian
 * @since 2023-06-15 14:36:10
 */
@Getter
@Setter
@Accessors(chain = true)
@ApiModel(value = "历史告警对象", description = "")
public class AlarmSourceEntity {

    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("厂家告警唯一标识")
    @TableField("alarmuniqueid")
    private String alarmuniqueid;

    @ApiModelProperty("告警标准化标识")
    @TableField("standardflag")
    private String standardflag;

    @ApiModelProperty("告警标准名")
    @TableField("standardalarmname")
    private String standardalarmname;

    @ApiModelProperty("告警标题")
    @TableField("alarmtitle")
    private String alarmtitle;

    @ApiModelProperty("告警正文")
    @TableField("alarmtext")
    private String alarmtext;

    @ApiModelProperty("厂家告警级别")
    @TableField("vendorseverity")
    private String vendorseverity;

    @ApiModelProperty("一级专业分类")
    @TableField("specialty")
    private String specialty;

    @ApiModelProperty("二级专业分类")
    @TableField("networktype")
    private String networktype;

    @ApiModelProperty("厂家")
    @TableField("vendor")
    private String vendor;

    @ApiModelProperty("设备类型")
    @TableField("equipmentclass")
    private String equipmentclass;

    @ApiModelProperty("告警对象ID")
    @TableField("alarm_obj_id")
    private String alarmObjId;

    @ApiModelProperty("告警对象名称")
    @TableField("alarm_obj_name")
    private String alarmObjName;

    @ApiModelProperty("定位信息")
    @TableField("locateinfo")
    private String locateinfo;

    @ApiModelProperty("首次发生时间")
    @TableField("firsteventtime")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date firsteventtime;

    @ApiModelProperty("告警确认状态")
    @TableField("ackstate")
    private String ackstate;

    @ApiModelProperty("告警确认时间")
    @TableField("alarm_ack_time")
    private Date alarmAckTime;

    @ApiModelProperty("告警清除状态")
    @TableField("clearstatus")
    private String clearstatus;

    @ApiModelProperty("告警清除状态")
    @TableField("alarmstatus")
    private String alarmstatus;

    @ApiModelProperty("告警清除时间")
    @TableField("canceltime")
    private Date canceltime;

    @ApiModelProperty("告警手动清除人")
    @TableField("canceluser")
    private String canceluser;

    @ApiModelProperty("告警备注")
    @TableField("alarmmemo")
    private String alarmmemo;

    @ApiModelProperty("工单号")
    @TableField("sheetno")
    private String sheetno;

    @ApiModelProperty("告警对象类型")
    @TableField("nettypesecond")
    private String nettypesecond;

    @ApiModelProperty("厂家告警号")
    @TableField("alarmid")
    private String alarmid;

    @ApiModelProperty("告警专业")
    @TableField("professional")
    private String professional;

    @ApiModelProperty("市")
    @TableField("alarmcity")
    private String alarmcity;

    @ApiModelProperty("县")
    @TableField("alarmcounty")
    private String alarmcounty;

    @ApiModelProperty("标准化网管告警 ID")
    @TableField("tyepkeycode")
    private String tyepkeycode;

    @ApiModelProperty("告警定位对象类型")
    @TableField("deviceobjecttype")
    private String deviceobjecttype;

    @ApiModelProperty("连续消息序号")
    @TableField("msgserial")
    private String msgserial;

    @ApiModelProperty("告警网元唯一标识,与资源的唯一标识统一")
    @TableField("sdn")
    private String sdn;

    @ApiModelProperty("网元名称")
    @TableField("nename")
    private String nename;

    @ApiModelProperty("厂家清除告警唯一标识")
    @TableField("alarmuniqueclearid")
    private String alarmuniqueclearid;

    @ApiModelProperty("告警数据源")
    @TableField("systemname")
    private String systemname;

    @ApiModelProperty("告警定位对象名称")
    @TableField("locatenename")
    private String locatenename;

    @ApiModelProperty("告警定位对象类型")
    @TableField("locatenetype")
    private String locatenetype;

    @ApiModelProperty("告警定位对象SDN")
    @TableField("locatenesdn")
    private String locatenesdn;

    @ApiModelProperty("事件发生时间")
    @TableField("eventtime")
    private Date eventtime;

    @ApiModelProperty("告警发出时间")
    @TableField("emseventtime")
    private Date emseventtime;

    @ApiModelProperty("厂家告警类型")
    @TableField("vendoralarmtype")
    private String vendoralarmtype;

    @ApiModelProperty("厂家告警号")
    @TableField("vendoralarmid")
    private String vendoralarmid;

    @ApiModelProperty("告警可能原因")
    @TableField("probablecausetxt")
    private String probablecausetxt;

    @ApiModelProperty("告警远端对象唯一标识，与资源的唯一标识统一")
    @TableField("rlocatesdn")
    private String rlocatesdn;

    @ApiModelProperty("告警远端对象名称")
    @TableField("rlocatenename")
    private String rlocatenename;

    @ApiModelProperty("告警远端对象类型")
    @TableField("rlocatenetype")
    private String rlocatenetype;

    @ApiModelProperty("层速率")
    @TableField("rate")
    private String rate;

    @ApiModelProperty("告警解析辅助字段")
    @TableField("alarmlocation")
    private String alarmlocation;

    @ApiModelProperty("告警检测点")
    @TableField("alarmcheck")
    private String alarmcheck;

    @ApiModelProperty("设备单板")
    @TableField("holdertype")
    private String holdertype;

    @ApiModelProperty("对告标志")
    @TableField("correlatealarmflag")
    private String correlatealarmflag;

    @ApiModelProperty("活动告警计数")
    @TableField("alarmactcount")
    private String alarmactcount;

    @ApiModelProperty("网元IP")
    @TableField("neip")
    private String neip;

    @ApiModelProperty("EMS标识（名称）")
    @TableField("emsid")
    private String emsid;

    @ApiModelProperty("网元别名")
    @TableField("nealias")
    private String nealias;

    @ApiModelProperty("设备版本")
    @TableField("version")
    @Version
    private String version;

    @ApiModelProperty("对端设备网元名称")
    @TableField("remotene")
    private String remotene;

    @ApiModelProperty("省")
    @TableField("alarmprovince")
    private String alarmprovince;

    @ApiModelProperty("告警地区")
    @TableField("alarmregion")
    private String alarmregion;

    @ApiModelProperty("局站")
    @TableField("site")
    private String site;

    @ApiModelProperty("局站类型")
    @TableField("sitetype")
    private String sitetype;

    @ApiModelProperty("站点产权性质")
    @TableField("siteproperty")
    private String siteproperty;

    @ApiModelProperty("机房")
    @TableField("machineroomidofzgtt")
    private String machineroomidofzgtt;

    @ApiModelProperty("业务系统名称")
    @TableField("businesssystem")
    private String businesssystem;

    @ApiModelProperty("电路名称")
    @TableField("circuitno")
    private String circuitno;

    @ApiModelProperty("MAC地址或SN号")
    @TableField("mac")
    private String mac;

    @ApiModelProperty("设备子类型：目前用于标识 ONU FTTH/FTTB分类")
    @TableField("nesubtype")
    private String nesubtype;

    @ApiModelProperty("影响电路数")
    @TableField("effectcircuitnum")
    private String effectcircuitnum;

    @ApiModelProperty("影响电路的电路级别")
    @TableField("circuitlevel")
    private String circuitlevel;

    @ApiModelProperty("网管告警级别")
    @TableField("alarmseverity")
    private String alarmseverity;

    @ApiModelProperty("标准化网管告警 ID")
    @TableField("nmsalarmid")
    private String nmsalarmid;

    @ApiModelProperty("告警逻辑分类")
    @TableField("alarmlogicclass")
    private String alarmlogicclass;

    @ApiModelProperty("告警逻辑子类")
    @TableField("alarmlogicsubclass")
    private String alarmlogicsubclass;

    @ApiModelProperty("该事件对设备的影响")
    @TableField("effectonequipment")
    private String effectonequipment;

    @ApiModelProperty("该事件对业务的影响")
    @TableField("effectonbusiness")
    private String effectonbusiness;

    @ApiModelProperty("标准化告警类别")
    @TableField("nmsalarmtype")
    private String nmsalarmtype;

    @ApiModelProperty("是否需要上报集团")
    @TableField("sendgroupflag")
    private String sendgroupflag;

    @ApiModelProperty("告警解释")
    @TableField("alarmexplanation")
    private String alarmexplanation;

    @ApiModelProperty("业务类型")
    @TableField("businesstype")
    private String businesstype;

    @ApiModelProperty("业务信息")
    @TableField("businessinfo")
    private String businessinfo;

    @ApiModelProperty("是否与对端网元相关")
    @TableField("isrelatedremote")
    private String isrelatedremote;

    @ApiModelProperty("告警工程状态")
    @TableField("locatenestatus")
    private String locatenestatus;

    @ApiModelProperty("工程号")
    @TableField("projectno")
    private String projectno;

    @ApiModelProperty("工程名称")
    @TableField("projectname")
    private String projectname;

    @ApiModelProperty("工程开始时间")
    @TableField("projectstarttime")
    private Date projectstarttime;

    @ApiModelProperty("工程结束时间")
    @TableField("projectendtime")
    private Date projectendtime;

    @ApiModelProperty("客户名称")
    @TableField("groupcustomer")
    private String groupcustomer;

    @ApiModelProperty("客户服务等级")
    @TableField("customerlevel")
    private String customerlevel;

    @ApiModelProperty("集客业务类型")
    @TableField("servicetype")
    private String servicetype;

    @ApiModelProperty("业务保障级别")
    @TableField("servicelevel")
    private String servicelevel;

    @ApiModelProperty("专线名称")
    @TableField("servicename")
    private String servicename;

    @ApiModelProperty("专线跨域属性")
    @TableField("servicecrossdomaintype")
    private String servicecrossdomaintype;

    @ApiModelProperty("是否中断电路")
    @TableField("interruptcircuitstate")
    private String interruptcircuitstate;

    @ApiModelProperty("电路故障位置")
    @TableField("circuitlocateinfo")
    private String circuitlocateinfo;

    @ApiModelProperty("故障管理系统告警发现时间")
    @TableField("daltime")
    private Date daltime;

    @ApiModelProperty("前转声光告警牌")
    @TableField("issendsoundbrand")
    private String issendsoundbrand;

    @ApiModelProperty("派单状态")
    @TableField("sheetsendstatus")
    private String sheetsendstatus;

    @ApiModelProperty("工单状态")
    @TableField("sheetstatus")
    private String sheetstatus;

    @ApiModelProperty("预处理结果")
    @TableField("preprocessresult")
    private String preprocessresult;

    @ApiModelProperty("预处理状态")
    @TableField("preprocessstatus")
    private String preprocessstatus;

    @ApiModelProperty("告警原因")
    @TableField("alarmreason")
    private String alarmreason;

    @ApiModelProperty("告警场景类型")
    @TableField("alarmscencetype")
    private String alarmscencetype;

    @ApiModelProperty("局站是否停电")
    @TableField("sitepoweroff")
    private String sitepoweroff;

    @ApiModelProperty("网络类型")
    @TableField("nettype_name")
    private String nettypeName;

    @ApiModelProperty("切片")
    @TableField("hotspotid")
    private String hotspotid;

    @ApiModelProperty("地市")
    @TableField("city_name")
    private String cityName;

    @ApiModelProperty("事件名称")
    @TableField("eventname")
    private String eventname;

    @ApiModelProperty("影响集团客户数")
    @TableField("effect_customer_num")
    private String effectCustomerNum;

    @ApiModelProperty("影响切片数")
    @TableField("effect_slice_num")
    private String effectSliceNum;

    @ApiModelProperty("告警专业（一级专业）")
    @TableField("alarm_specialty")
    private String alarmSpecialty;

    @ApiModelProperty("告警对象类型")
    @TableField("alarm_obj_type")
    private String alarmObjType;

    @ApiModelProperty("影响APN数")
    @TableField("effect_apn_num")
    private String effectApnNum;

    @ApiModelProperty("告警次数")
    @TableField("alarm_num")
    private String alarmNum;

    @ApiModelProperty("路径ID")
    @TableField("route_id")
    private String routeId;

    @ApiModelProperty("最后发生时间")
    @TableField("lasteventtime")
    private Date lasteventtime;

    @ApiModelProperty("告警流水号")
    @TableField("alarmno")
    private String alarmno;

    @ApiModelProperty("告警确认类型")
    @TableField("alarm_ack_type")
    private String alarmAckType;

    @ApiModelProperty("行业")
    @TableField("customer_trade")
    private String customerTrade;

    @ApiModelProperty("HOTSPOTNAME")
    @TableField("hotspotname")
    private String hotspotname;

    @ApiModelProperty("Source")
    @TableField("source_1")
    private String source1;

	@ApiModelProperty("serialNo")
	@TableField("serial_no")
	private Integer serialNo;

	@ApiModelProperty("synNo")
	@TableField("syn_no")
	private Integer synNo;

	@ApiModelProperty("设备id")
	@TableField("device_id")
	private String deviceId;

	@ApiModelProperty("告警描述")
	@TableField("alarm_desc")
	private String alarmDesc;

	@ApiModelProperty("告警值")
	@TableField("alarm_value")
	private String alarmValue;

	@ApiModelProperty("nmAlarmId")
	@TableField("nm_alarm_id")
	private String nmAlarmId;

	@ApiModelProperty("scid")
	@TableField("scid")
	private String scid;

	@ApiModelProperty("信号点id")
	@TableField("signal_id")
	private String signalId;

	@ApiModelProperty("类型")
	@TableField("type")
	private Integer type;

	@ApiModelProperty("告警时间")
	@TableField("alarm_time")
	private Date alarmTime;

	@ApiModelProperty("标志名")
	@TableField("signal_name")
	private String signalName;

	@ApiModelProperty("告警数据源id")
	@TableField("alarm_source_id")
	private Integer alarmSourceId;

	@ApiModelProperty("信号点编号")
	@TableField("signal_number")
	private String signalNumber;
}
